<div v-show="showView" id="showView" style="display: none;" class="panel panel-default">
    <div class="panel-heading"><i class="fa fa-reply" @click="reload" aria-hidden="true" style="cursor: pointer;"></i> {{title}}</div>
    <form name="formView" action="" method="post" class="form-horizontal">
        # for(entry in crud.viewMap){ #
        #
        var key = entry.value.key;
        var name = entry.value.javaKey;
        var value = 'model.'+entry.value.javaKey;
        var data = flyfox.dataList(entry.value.formTypeData);
        #
        <div class="form-group">
            <div class="col-sm-2 control-label">@{entry.value.name}</div>
            <div class="col-sm-10">
                #if (entry.value.formType=="INPUT") {#
                # if (entry.value.inputType=='TEXT') { #
                <p class="form-control-static">{{@{value}}}</p>
                # } else if (entry.value.inputType=='RADIO') { #
                # layout("util/value.html",{obj:data,name:value}){ } #
                # } else if (entry.value.inputType=='CHECKBOX') { #
                # layout("util/value.html",{obj:data,name:value}){ } #
                # } else { #
                <p class="form-control-static">{{@{value}}}</p>
                # } #
                # } else if (entry.value.formType=='TEXTAREA') { #
                <p class="form-control-static" title="{{@{value}}}">
                    {{jflyfox.suojin(@{value},20)}}
                </p>
                # } else if (entry.value.formType=='DICT') { #
                <p class="form-control-static">{{flyfox.dictValue(@{value} ) }}</p>
                # } else if (entry.value.formType=='SELECT') { #
                <p class="form-control-static">
                    # layout("util/value.html",{obj:data,name:value}){ } #
                </p>
                #}#
            </div>
        </div>
        # } #

        <div style="height: 10px;clear: both;">&nbsp;</div>
        <div class="form-group">
            <div class="col-sm-2 control-label"></div>
            <div class="col-sm-10">
                <a href="javascript:void(0);" class="btn btn-primary" @click="reload">返 回</a>
            </div>
        </div>

    </form>
</div>